home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc,comp.sys.amiga.advocacy
- Path: news.chalmers.se!sunic!pipex!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!stepsun.uni-kl.de!uklirb.informatik.uni-kl.de!feck
- From: feck@informatik.uni-kl.de (Christoph Feck IRZ)
- Subject: ScrollerWindow source in alt.sources.amiga
- Message-ID: <1994May27.003146@informatik.uni-kl.de>
- Sender: news@uklirb.informatik.uni-kl.de (Unix-News-System)
- Nntp-Posting-Host: uklira.informatik.uni-kl.de
- Organization: University of Kaiserslautern, Germany
- Date: Thu, 26 May 1994 22:31:46 GMT
- Lines: 40
- Xref: news.chalmers.se comp.sys.amiga.programmer:32844 comp.sys.amiga.misc:34074 comp.sys.amiga.advocacy:66947
-
- There has been recently a discussion in csa.advocacy (and
- csa.misc) about the look of Intuitions window borders and
- gadgets. People complained about the 'squished' look in
- interlaced modes (or other highres modes with 1:1 aspect).
-
- Indeed this is a problem that needs to be addressed in a
- future OS release. There is, however, a hack on aminet,
- which hacks around with Intuition and makes the sizegadget
- and the horizontal WB scrollers look 'right' in those 1:1
- modes without requiring a new OS.
-
- Sadly enough, only a few programs work right with this
- hack, because it assumes that the programs do the 'right'
- thing, and ask the OS about the dimensions of the sizing
- and arrow images. Instead, these programs insist on using
- hardcoded values (Workbench 2.0 itself is such a bad guy,
- but Workbench 3.0 and MultiView seem to work perfectly
- well with this hack).
-
- Creating a complete size adaptive layout is not as simple
- as using hardcoded values. That is understood. Because
- of this, I have released an example program in alt.sources
- .amiga, which performs this task (written in C). It adds
- the four arrow gadgets and uses BOOPSI, too.
-
- It also should answer the very often asked question of how
- to create 'those Workbench 3d sliders', because it isn't
- possible e.g. with gadtools, and needs some knowledge about
- Intuitions gadget relativity flags.
-
- May this program help developers upgrading their programs
- to handle gadgetsize sensitive window layout. I will also
- put it on Aminet, for those who can't access the alt groups
- (should show up in dev/src).
-
- Have fun,
- Christoph
-
- 3k// Christoph Feck, TowerSystems - BOOPSI Class Development
- \X/ Amiga - Intuition inside.
-